class Symbol
  def to_proc
    Proc.new { |*args| args.shift.__send__(self, *args) }
  end
end

class MicroBench
  class << self
    def time
      start = Time.now
      yield
      Time.now - start
    end
  end
end

module Kernel

  def check(domain, &block)
    Syspec::Core.register(domain, &block)
  end

end
